<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"
            "http://www.w3.org/TR/REC-html40/loose.dtd">
<HTML>
<HEAD>



<META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<META name="GENERATOR" content="hevea 1.08">
<LINK rel="stylesheet" type="text/css" href="umsroot.css">
<TITLE>
Event Types
</TITLE>
</HEAD>
<BODY >
<A HREF="umsroot147.html"><IMG SRC ="contents_motif.gif" ALT="Up"></A>
<A HREF="umsroot149.html"><IMG SRC ="next_motif.gif" ALT="Next"></A>
<HR>

<H2 CLASS="section"><A NAME="htoc318">C.1</A>&nbsp;&nbsp;Event Types</H2><UL>
<LI><A HREF="umsroot148.html#toc172">Argument Types and Values</A>
<LI><A HREF="umsroot148.html#toc173">Arithmetic, Environment</A>
<LI><A HREF="umsroot148.html#toc174">Data and Memory Areas, Predicates, Operators</A>
<LI><A HREF="umsroot148.html#toc175">Modules, Visibility</A>
<LI><A HREF="umsroot148.html#toc176">Syntax Errors, Parsing</A>
<LI><A HREF="umsroot148.html#toc177">Compilation, Run-Time System, Execution</A>
<LI><A HREF="umsroot148.html#toc178">Top-Level</A>
<LI><A HREF="umsroot148.html#toc179">Macro Transformation Errors, Lexical Analyser</A>
<LI><A HREF="umsroot148.html#toc180">I/O, Operating System, External Interface</A>
<LI><A HREF="umsroot148.html#toc181">Debugging, Object Files</A>
<LI><A HREF="umsroot148.html#toc182">Extensions</A>
</UL>


<A NAME="toc172"></A>
<H3 CLASS="subsection"><A NAME="htoc319">C.1.1</A>&nbsp;&nbsp;Argument Types and Values</H3>
<TABLE BORDER=1 CELLSPACING=0 CELLPADDING=1>
<TR><TD VALIGN=top ALIGN=left><B>Event</B></TD>
<TD VALIGN=top ALIGN=left><B>Event Type</B></TD>
<TD VALIGN=top ALIGN=left><B>Default Event Handler</B></TD>
</TR>
<TR><TD VALIGN=top ALIGN=left><BR>
1</TD>
<TD VALIGN=top ALIGN=left>general error</TD>
<TD VALIGN=top ALIGN=left>error_handler / 2</TD>
</TR>
<TR><TD VALIGN=top ALIGN=left>2</TD>
<TD VALIGN=top ALIGN=left>term of an unknown type</TD>
<TD VALIGN=top ALIGN=left>error_handler / 2</TD>
</TR>
<TR><TD VALIGN=top ALIGN=left>4</TD>
<TD VALIGN=top ALIGN=left>instantiation fault</TD>
<TD VALIGN=top ALIGN=left>error_handler / 4</TD>
</TR>
<TR><TD VALIGN=top ALIGN=left>5</TD>
<TD VALIGN=top ALIGN=left>type error</TD>
<TD VALIGN=top ALIGN=left>error_handler / 4</TD>
</TR>
<TR><TD VALIGN=top ALIGN=left>6</TD>
<TD VALIGN=top ALIGN=left>out of range</TD>
<TD VALIGN=top ALIGN=left>error_handler / 4</TD>
</TR>
<TR><TD VALIGN=top ALIGN=left>7</TD>
<TD VALIGN=top ALIGN=left>string contains unexpected characters</TD>
<TD VALIGN=top ALIGN=left>error_handler / 2</TD>
</TR>
<TR><TD VALIGN=top ALIGN=left>8</TD>
<TD VALIGN=top ALIGN=left>bad argument list</TD>
<TD VALIGN=top ALIGN=left>error_handler / 2</TD>
</TR></TABLE><BR>
<A NAME="toc173"></A>
<H3 CLASS="subsection"><A NAME="htoc320">C.1.2</A>&nbsp;&nbsp;Arithmetic, Environment</H3>
<TABLE BORDER=1 CELLSPACING=0 CELLPADDING=1>
<TR><TD VALIGN=top ALIGN=left><B>Event</B></TD>
<TD VALIGN=top ALIGN=left><B>Event Type</B></TD>
<TD VALIGN=top ALIGN=left><B>Default Event Handler</B></TD>
</TR>
<TR><TD VALIGN=top ALIGN=left><BR>
15</TD>
<TD VALIGN=top ALIGN=left>creating parallel choice point</TD>
<TD VALIGN=top ALIGN=left>fail / 0</TD>
</TR>
<TR><TD VALIGN=top ALIGN=left>16</TD>
<TD VALIGN=top ALIGN=left>failing to parallel choice point</TD>
<TD VALIGN=top ALIGN=left>fail / 0</TD>
</TR>
<TR><TD VALIGN=top ALIGN=left>17</TD>
<TD VALIGN=top ALIGN=left>recomputation failed</TD>
<TD VALIGN=top ALIGN=left>error_handler / 2</TD>
</TR>
<TR><TD VALIGN=top ALIGN=left>20</TD>
<TD VALIGN=top ALIGN=left>arithmetic exception</TD>
<TD VALIGN=top ALIGN=left>error_handler / 2</TD>
</TR>
<TR><TD VALIGN=top ALIGN=left>21</TD>
<TD VALIGN=top ALIGN=left>undefined arithmetic expression</TD>
<TD VALIGN=top ALIGN=left>error_handler / 4</TD>
</TR>
<TR><TD VALIGN=top ALIGN=left>23</TD>
<TD VALIGN=top ALIGN=left>comparison trap</TD>
<TD VALIGN=top ALIGN=left>compare_handler / 4</TD>
</TR>
<TR><TD VALIGN=top ALIGN=left>24</TD>
<TD VALIGN=top ALIGN=left>number expected</TD>
<TD VALIGN=top ALIGN=left>error_handler / 2</TD>
</TR>
<TR><TD VALIGN=top ALIGN=left>25</TD>
<TD VALIGN=top ALIGN=left>integer overflow</TD>
<TD VALIGN=top ALIGN=left>integer_overflow_handler / 2</TD>
</TR>
<TR><TD VALIGN=top ALIGN=left>30</TD>
<TD VALIGN=top ALIGN=left>trying to write a read-only flag</TD>
<TD VALIGN=top ALIGN=left>error_handler / 2</TD>
</TR>
<TR><TD VALIGN=top ALIGN=left>31</TD>
<TD VALIGN=top ALIGN=left>arity limit exceeded</TD>
<TD VALIGN=top ALIGN=left>error_handler / 2</TD>
</TR>
<TR><TD VALIGN=top ALIGN=left>32</TD>
<TD VALIGN=top ALIGN=left>no handler for event</TD>
<TD VALIGN=top ALIGN=left>warning_handler / 2</TD>
</TR>
<TR><TD VALIGN=top ALIGN=left>33</TD>
<TD VALIGN=top ALIGN=left>event queue overflow</TD>
<TD VALIGN=top ALIGN=left>error_handler / 2</TD>
</TR></TABLE><BR>
<A NAME="toc174"></A>
<H3 CLASS="subsection"><A NAME="htoc321">C.1.3</A>&nbsp;&nbsp;Data and Memory Areas, Predicates, Operators</H3>
<TABLE BORDER=1 CELLSPACING=0 CELLPADDING=1>
<TR><TD VALIGN=top ALIGN=left><B>Event</B></TD>
<TD VALIGN=top ALIGN=left><B>Event Type</B></TD>
<TD VALIGN=top ALIGN=left><B>Default Event Handler</B></TD>
</TR>
<TR><TD VALIGN=top ALIGN=left><BR>
40</TD>
<TD VALIGN=top ALIGN=left>stale object handle</TD>
<TD VALIGN=top ALIGN=left>error_handler / 2</TD>
</TR>
<TR><TD VALIGN=top ALIGN=left>41</TD>
<TD VALIGN=top ALIGN=left>array or global variable does not exist</TD>
<TD VALIGN=top ALIGN=left>undef_array_handler / 3</TD>
</TR>
<TR><TD VALIGN=top ALIGN=left>42</TD>
<TD VALIGN=top ALIGN=left>redefining an existing array</TD>
<TD VALIGN=top ALIGN=left>make_array_handler / 4</TD>
</TR>
<TR><TD VALIGN=top ALIGN=left>43</TD>
<TD VALIGN=top ALIGN=left>multiple definition postfix/infix</TD>
<TD VALIGN=top ALIGN=left>error_handler / 2</TD>
</TR>
<TR><TD VALIGN=top ALIGN=left>44</TD>
<TD VALIGN=top ALIGN=left>record already exists</TD>
<TD VALIGN=top ALIGN=left>error_handler / 2</TD>
</TR>
<TR><TD VALIGN=top ALIGN=left>45</TD>
<TD VALIGN=top ALIGN=left>record does not exist</TD>
<TD VALIGN=top ALIGN=left>undef_record_handler / 2</TD>
</TR>
<TR><TD VALIGN=top ALIGN=left>50</TD>
<TD VALIGN=top ALIGN=left>trying to modify a read-only ground term</TD>
<TD VALIGN=top ALIGN=left>error_handler / 2</TD>
</TR>
<TR><TD VALIGN=top ALIGN=left>60</TD>
<TD VALIGN=top ALIGN=left>referring to an undefined procedure</TD>
<TD VALIGN=top ALIGN=left>error_handler / 4</TD>
</TR>
<TR><TD VALIGN=top ALIGN=left>61</TD>
<TD VALIGN=top ALIGN=left>inconsistent tool redefinition</TD>
<TD VALIGN=top ALIGN=left>error_handler / 4</TD>
</TR>
<TR><TD VALIGN=top ALIGN=left>62</TD>
<TD VALIGN=top ALIGN=left>inconsistent procedure redefinition</TD>
<TD VALIGN=top ALIGN=left>error_handler / 4</TD>
</TR>
<TR><TD VALIGN=top ALIGN=left>63</TD>
<TD VALIGN=top ALIGN=left>procedure not dynamic</TD>
<TD VALIGN=top ALIGN=left>error_handler / 4</TD>
</TR>
<TR><TD VALIGN=top ALIGN=left>64</TD>
<TD VALIGN=top ALIGN=left>procedure already dynamic</TD>
<TD VALIGN=top ALIGN=left>dynamic_handler / 3</TD>
</TR>
<TR><TD VALIGN=top ALIGN=left>65</TD>
<TD VALIGN=top ALIGN=left>procedure already defined</TD>
<TD VALIGN=top ALIGN=left>error_handler / 4</TD>
</TR>
<TR><TD VALIGN=top ALIGN=left>66</TD>
<TD VALIGN=top ALIGN=left>trying to modify a system predicate</TD>
<TD VALIGN=top ALIGN=left>error_handler / 4</TD>
</TR>
<TR><TD VALIGN=top ALIGN=left>67</TD>
<TD VALIGN=top ALIGN=left>procedure is not yet loaded</TD>
<TD VALIGN=top ALIGN=left>error_handler / 4</TD>
</TR>
<TR><TD VALIGN=top ALIGN=left>68</TD>
<TD VALIGN=top ALIGN=left>calling an undefined procedure</TD>
<TD VALIGN=top ALIGN=left>call_handler / 4</TD>
</TR>
<TR><TD VALIGN=top ALIGN=left>69</TD>
<TD VALIGN=top ALIGN=left>autoload event</TD>
<TD VALIGN=top ALIGN=left>autoload_handler / 4</TD>
</TR>
<TR><TD VALIGN=top ALIGN=left>70</TD>
<TD VALIGN=top ALIGN=left>accessing an undefined dynamic procedure</TD>
<TD VALIGN=top ALIGN=left>undef_dynamic_handler / 3</TD>
</TR>
<TR><TD VALIGN=top ALIGN=left>71</TD>
<TD VALIGN=top ALIGN=left>procedure already parallel</TD>
<TD VALIGN=top ALIGN=left>error_handler / 2</TD>
</TR>
<TR><TD VALIGN=top ALIGN=left>72</TD>
<TD VALIGN=top ALIGN=left>accessing an undefined operator</TD>
<TD VALIGN=top ALIGN=left>error_handler / 2</TD>
</TR>
<TR><TD VALIGN=top ALIGN=left>73</TD>
<TD VALIGN=top ALIGN=left>redefining an existing operator</TD>
<TD VALIGN=top ALIGN=left>true / 0</TD>
</TR>
<TR><TD VALIGN=top ALIGN=left>74</TD>
<TD VALIGN=top ALIGN=left>hiding an existing global operator</TD>
<TD VALIGN=top ALIGN=left>true / 0</TD>
</TR>
<TR><TD VALIGN=top ALIGN=left>75</TD>
<TD VALIGN=top ALIGN=left>referring to a deprecated predicate</TD>
<TD VALIGN=top ALIGN=left>declaration_warning_handler / 3</TD>
</TR>
<TR><TD VALIGN=top ALIGN=left>76</TD>
<TD VALIGN=top ALIGN=left>predicate declared but not defined</TD>
<TD VALIGN=top ALIGN=left>declaration_warning_handler / 3</TD>
</TR>
<TR><TD VALIGN=top ALIGN=left>77</TD>
<TD VALIGN=top ALIGN=left>predicate used but not declared or defined</TD>
<TD VALIGN=top ALIGN=left>declaration_warning_handler / 3</TD>
</TR>
<TR><TD VALIGN=top ALIGN=left>78</TD>
<TD VALIGN=top ALIGN=left>calling a procedure with a reserved name</TD>
<TD VALIGN=top ALIGN=left>error_handler / 2</TD>
</TR></TABLE><BR>
<A NAME="toc175"></A>
<H3 CLASS="subsection"><A NAME="htoc322">C.1.4</A>&nbsp;&nbsp;Modules, Visibility</H3>
<TABLE BORDER=1 CELLSPACING=0 CELLPADDING=1>
<TR><TD VALIGN=top ALIGN=left><B>Event</B></TD>
<TD VALIGN=top ALIGN=left><B>Event Type</B></TD>
<TD VALIGN=top ALIGN=left><B>Default Event Handler</B></TD>
</TR>
<TR><TD VALIGN=top ALIGN=left><BR>
80</TD>
<TD VALIGN=top ALIGN=left>not a module</TD>
<TD VALIGN=top ALIGN=left>error_handler / 2</TD>
</TR>
<TR><TD VALIGN=top ALIGN=left>81</TD>
<TD VALIGN=top ALIGN=left>module/1 can appear only as a directive</TD>
<TD VALIGN=top ALIGN=left>error_handler / 2</TD>
</TR>
<TR><TD VALIGN=top ALIGN=left>82</TD>
<TD VALIGN=top ALIGN=left>trying to access a locked module</TD>
<TD VALIGN=top ALIGN=left>locked_access_handler / 2</TD>
</TR>
<TR><TD VALIGN=top ALIGN=left>83</TD>
<TD VALIGN=top ALIGN=left>creating a new module</TD>
<TD VALIGN=top ALIGN=left>warning_handler / 2</TD>
</TR>
<TR><TD VALIGN=top ALIGN=left>84</TD>
<TD VALIGN=top ALIGN=left>referring to non-exported predicate</TD>
<TD VALIGN=top ALIGN=left>declaration_warning_handler / 3</TD>
</TR>
<TR><TD VALIGN=top ALIGN=left>85</TD>
<TD VALIGN=top ALIGN=left>referring to non-existing module</TD>
<TD VALIGN=top ALIGN=left>declaration_warning_handler / 3</TD>
</TR>
<TR><TD VALIGN=top ALIGN=left>86</TD>
<TD VALIGN=top ALIGN=left>lookup module does not exist</TD>
<TD VALIGN=top ALIGN=left>no_lookup_module_handler / 4</TD>
</TR>
<TR><TD VALIGN=top ALIGN=left>87</TD>
<TD VALIGN=top ALIGN=left>attempt to redefine an existing local item</TD>
<TD VALIGN=top ALIGN=left>warning_handler / 3</TD>
</TR>
<TR><TD VALIGN=top ALIGN=left>88</TD>
<TD VALIGN=top ALIGN=left>attempt to redefine an existing exported item</TD>
<TD VALIGN=top ALIGN=left>warning_handler / 3</TD>
</TR>
<TR><TD VALIGN=top ALIGN=left>89</TD>
<TD VALIGN=top ALIGN=left>attempt to redefine an already imported item</TD>
<TD VALIGN=top ALIGN=left>warning_handler / 3</TD>
</TR>
<TR><TD VALIGN=top ALIGN=left>90</TD>
<TD VALIGN=top ALIGN=left>procedure is already reexported</TD>
<TD VALIGN=top ALIGN=left>error_handler / 4</TD>
</TR>
<TR><TD VALIGN=top ALIGN=left>91</TD>
<TD VALIGN=top ALIGN=left>not a tool procedure</TD>
<TD VALIGN=top ALIGN=left>error_handler / 2</TD>
</TR>
<TR><TD VALIGN=top ALIGN=left>92</TD>
<TD VALIGN=top ALIGN=left>trying to redefine an existing local procedure</TD>
<TD VALIGN=top ALIGN=left>error_handler / 4</TD>
</TR>
<TR><TD VALIGN=top ALIGN=left>93</TD>
<TD VALIGN=top ALIGN=left>trying to redefine an existing exported procedure</TD>
<TD VALIGN=top ALIGN=left>error_handler / 4</TD>
</TR>
<TR><TD VALIGN=top ALIGN=left>94</TD>
<TD VALIGN=top ALIGN=left>trying to redefine an existing imported procedure</TD>
<TD VALIGN=top ALIGN=left>error_handler / 4</TD>
</TR>
<TR><TD VALIGN=top ALIGN=left>96</TD>
<TD VALIGN=top ALIGN=left>ambiguous import</TD>
<TD VALIGN=top ALIGN=left>ambiguous_import_resolve / 3</TD>
</TR>
<TR><TD VALIGN=top ALIGN=left>97</TD>
<TD VALIGN=top ALIGN=left>module already exists</TD>
<TD VALIGN=top ALIGN=left>error_handler / 2</TD>
</TR>
<TR><TD VALIGN=top ALIGN=left>98</TD>
<TD VALIGN=top ALIGN=left>key not correct</TD>
<TD VALIGN=top ALIGN=left>error_handler / 2</TD>
</TR>
<TR><TD VALIGN=top ALIGN=left>99</TD>
<TD VALIGN=top ALIGN=left>unresolved ambiguous import</TD>
<TD VALIGN=top ALIGN=left>ambiguous_import_warn / 3</TD>
</TR>
<TR><TD VALIGN=top ALIGN=left>100</TD>
<TD VALIGN=top ALIGN=left>accessing a procedure defined in another module</TD>
<TD VALIGN=top ALIGN=left>undef_dynamic_handler / 3</TD>
</TR>
<TR><TD VALIGN=top ALIGN=left>101</TD>
<TD VALIGN=top ALIGN=left>trying to erase a module from itself</TD>
<TD VALIGN=top ALIGN=left>error_handler / 2</TD>
</TR></TABLE>
<BR>
<BR>
<BR>
<A NAME="toc176"></A>
<H3 CLASS="subsection"><A NAME="htoc323">C.1.5</A>&nbsp;&nbsp;Syntax Errors, Parsing</H3>
<TABLE BORDER=1 CELLSPACING=0 CELLPADDING=1>
<TR><TD VALIGN=top ALIGN=left><B>Event</B></TD>
<TD VALIGN=top ALIGN=left><B>Event Type</B></TD>
<TD VALIGN=top ALIGN=left><B>Default Event Handler</B></TD>
</TR>
<TR><TD VALIGN=top ALIGN=left><BR>
110</TD>
<TD VALIGN=top ALIGN=left>syntax error:</TD>
<TD VALIGN=top ALIGN=left>parser_error_handler / 2</TD>
</TR>
<TR><TD VALIGN=top ALIGN=left>111</TD>
<TD VALIGN=top ALIGN=left>syntax error: list tail ended improperly</TD>
<TD VALIGN=top ALIGN=left>parser_error_handler / 2</TD>
</TR>
<TR><TD VALIGN=top ALIGN=left>112</TD>
<TD VALIGN=top ALIGN=left>syntax error: illegal character in a quoted token</TD>
<TD VALIGN=top ALIGN=left>parser_error_handler / 2</TD>
</TR>
<TR><TD VALIGN=top ALIGN=left>113</TD>
<TD VALIGN=top ALIGN=left>syntax error: unexpected comma</TD>
<TD VALIGN=top ALIGN=left>parser_error_handler / 2</TD>
</TR>
<TR><TD VALIGN=top ALIGN=left>114</TD>
<TD VALIGN=top ALIGN=left>syntax error: unexpected token</TD>
<TD VALIGN=top ALIGN=left>parser_error_handler / 2</TD>
</TR>
<TR><TD VALIGN=top ALIGN=left>115</TD>
<TD VALIGN=top ALIGN=left>syntax error: unexpected end of file</TD>
<TD VALIGN=top ALIGN=left>parser_error_handler / 2</TD>
</TR>
<TR><TD VALIGN=top ALIGN=left>116</TD>
<TD VALIGN=top ALIGN=left>syntax error: numeric constant out of range</TD>
<TD VALIGN=top ALIGN=left>parser_error_handler / 2</TD>
</TR>
<TR><TD VALIGN=top ALIGN=left>117</TD>
<TD VALIGN=top ALIGN=left>syntax error: bracket necessary</TD>
<TD VALIGN=top ALIGN=left>parser_error_handler / 2</TD>
</TR>
<TR><TD VALIGN=top ALIGN=left>118</TD>
<TD VALIGN=top ALIGN=left>syntax error: unexpected fullstop</TD>
<TD VALIGN=top ALIGN=left>parser_error_handler / 2</TD>
</TR>
<TR><TD VALIGN=top ALIGN=left>119</TD>
<TD VALIGN=top ALIGN=left>syntax error: postfix/infix operator expected</TD>
<TD VALIGN=top ALIGN=left>parser_error_handler / 2</TD>
</TR>
<TR><TD VALIGN=top ALIGN=left>120</TD>
<TD VALIGN=top ALIGN=left>syntax error: wrong solo char</TD>
<TD VALIGN=top ALIGN=left>parser_error_handler / 2</TD>
</TR>
<TR><TD VALIGN=top ALIGN=left>121</TD>
<TD VALIGN=top ALIGN=left>syntax error: space between functor and open bracket</TD>
<TD VALIGN=top ALIGN=left>parser_error_handler / 2</TD>
</TR>
<TR><TD VALIGN=top ALIGN=left>122</TD>
<TD VALIGN=top ALIGN=left>syntax error: variable with multiple attributes</TD>
<TD VALIGN=top ALIGN=left>parser_error_handler / 2</TD>
</TR>
<TR><TD VALIGN=top ALIGN=left>123</TD>
<TD VALIGN=top ALIGN=left>illegal iteration specifier in do-loop</TD>
<TD VALIGN=top ALIGN=left>error_handler / 4</TD>
</TR>
<TR><TD VALIGN=top ALIGN=left>124</TD>
<TD VALIGN=top ALIGN=left>syntax error : prefix operator followed by infix operator</TD>
<TD VALIGN=top ALIGN=left>parser_error_handler / 2</TD>
</TR>
<TR><TD VALIGN=top ALIGN=left>125</TD>
<TD VALIGN=top ALIGN=left>syntax error : unexpected closing bracket</TD>
<TD VALIGN=top ALIGN=left>parser_error_handler / 2</TD>
</TR>
<TR><TD VALIGN=top ALIGN=left>126</TD>
<TD VALIGN=top ALIGN=left>syntax error : grammar rule head is not valid</TD>
<TD VALIGN=top ALIGN=left>parser_error_handler / 2</TD>
</TR>
<TR><TD VALIGN=top ALIGN=left>127</TD>
<TD VALIGN=top ALIGN=left>syntax error : grammar rule body is not valid</TD>
<TD VALIGN=top ALIGN=left>parser_error_handler / 2</TD>
</TR>
<TR><TD VALIGN=top ALIGN=left>128</TD>
<TD VALIGN=top ALIGN=left>syntax error : in source transformation</TD>
<TD VALIGN=top ALIGN=left>parser_error_handler / 2</TD>
</TR>
<TR><TD VALIGN=top ALIGN=left>129</TD>
<TD VALIGN=top ALIGN=left>syntax error: source transformation floundered</TD>
<TD VALIGN=top ALIGN=left>parser_error_handler / 2</TD>
</TR></TABLE><BR>
<A NAME="toc177"></A>
<H3 CLASS="subsection"><A NAME="htoc324">C.1.6</A>&nbsp;&nbsp;Compilation, Run-Time System, Execution</H3>
<TABLE BORDER=1 CELLSPACING=0 CELLPADDING=1>
<TR><TD VALIGN=top ALIGN=left><B>Event</B></TD>
<TD VALIGN=top ALIGN=left><B>Event Type</B></TD>
<TD VALIGN=top ALIGN=left><B>Default Event Handler</B></TD>
</TR>
<TR><TD VALIGN=top ALIGN=left><BR>
130</TD>
<TD VALIGN=top ALIGN=left>syntax error: illegal head</TD>
<TD VALIGN=top ALIGN=left>compiler_error_handler / 2</TD>
</TR>
<TR><TD VALIGN=top ALIGN=left>131</TD>
<TD VALIGN=top ALIGN=left>syntax error: illegal goal</TD>
<TD VALIGN=top ALIGN=left>compiler_error_handler / 2</TD>
</TR>
<TR><TD VALIGN=top ALIGN=left>132</TD>
<TD VALIGN=top ALIGN=left>syntax error: term of an unknown type</TD>
<TD VALIGN=top ALIGN=left>compiler_error_handler / 2</TD>
</TR>
<TR><TD VALIGN=top ALIGN=left>133</TD>
<TD VALIGN=top ALIGN=left>loading the library</TD>
<TD VALIGN=top ALIGN=left>true / 0</TD>
</TR>
<TR><TD VALIGN=top ALIGN=left>134</TD>
<TD VALIGN=top ALIGN=left>procedure clauses are not consecutive</TD>
<TD VALIGN=top ALIGN=left>compiler_error_handler / 2</TD>
</TR>
<TR><TD VALIGN=top ALIGN=left>135</TD>
<TD VALIGN=top ALIGN=left>trying to redefine a protected procedure</TD>
<TD VALIGN=top ALIGN=left>compiler_error_handler / 2</TD>
</TR>
<TR><TD VALIGN=top ALIGN=left>136</TD>
<TD VALIGN=top ALIGN=left>trying to redefine a built-in predicate</TD>
<TD VALIGN=top ALIGN=left>compiler_error_handler / 2</TD>
</TR>
<TR><TD VALIGN=top ALIGN=left>137</TD>
<TD VALIGN=top ALIGN=left>trying to redefine a procedure with another type</TD>
<TD VALIGN=top ALIGN=left>compiler_error_handler / 2</TD>
</TR>
<TR><TD VALIGN=top ALIGN=left>138</TD>
<TD VALIGN=top ALIGN=left>singleton local variable in do-loop</TD>
<TD VALIGN=top ALIGN=left>singleton_in_loop / 2</TD>
</TR>
<TR><TD VALIGN=top ALIGN=left>139</TD>
<TD VALIGN=top ALIGN=left>compiled or dumped file message</TD>
<TD VALIGN=top ALIGN=left>compiled_file_handler / 3</TD>
</TR>
<TR><TD VALIGN=top ALIGN=left>140</TD>
<TD VALIGN=top ALIGN=left>undefined instruction</TD>
<TD VALIGN=top ALIGN=left>error_handler / 2</TD>
</TR>
<TR><TD VALIGN=top ALIGN=left>141</TD>
<TD VALIGN=top ALIGN=left>unimplemented functionality</TD>
<TD VALIGN=top ALIGN=left>error_handler / 2</TD>
</TR>
<TR><TD VALIGN=top ALIGN=left>142</TD>
<TD VALIGN=top ALIGN=left>built-in predicate not available on this system</TD>
<TD VALIGN=top ALIGN=left>error_handler / 2</TD>
</TR>
<TR><TD VALIGN=top ALIGN=left>143</TD>
<TD VALIGN=top ALIGN=left>compiled query failed</TD>
<TD VALIGN=top ALIGN=left>compiler_error_handler / 2</TD>
</TR>
<TR><TD VALIGN=top ALIGN=left>144</TD>
<TD VALIGN=top ALIGN=left>a cut is not allowed in a condition</TD>
<TD VALIGN=top ALIGN=left>compiler_error_handler / 2</TD>
</TR>
<TR><TD VALIGN=top ALIGN=left>145</TD>
<TD VALIGN=top ALIGN=left>procedure being redefined in another file</TD>
<TD VALIGN=top ALIGN=left>redef_other_file_handler / 2</TD>
</TR>
<TR><TD VALIGN=top ALIGN=left>146</TD>
<TD VALIGN=top ALIGN=left>start of compilation</TD>
<TD VALIGN=top ALIGN=left>true / 0</TD>
</TR>
<TR><TD VALIGN=top ALIGN=left>147</TD>
<TD VALIGN=top ALIGN=left>compilation aborted</TD>
<TD VALIGN=top ALIGN=left>compiler_abort_handler / 3</TD>
</TR>
<TR><TD VALIGN=top ALIGN=left>148</TD>
<TD VALIGN=top ALIGN=left>bad pragma</TD>
<TD VALIGN=top ALIGN=left>pragma_handler / 3</TD>
</TR>
<TR><TD VALIGN=top ALIGN=left>149</TD>
<TD VALIGN=top ALIGN=left>code unit loaded</TD>
<TD VALIGN=top ALIGN=left>unit_loaded_handler / 3</TD>
</TR></TABLE>
<BR>
<BR>
<BR>
The handlers for these events receive the following arguments:<BR>
<TABLE CELLSPACING=2 CELLPADDING=0>
<TR><TD VALIGN=top ALIGN=left><B>Event</B></TD>
<TD VALIGN=top ALIGN=left><B>Second Argument</B></TD>
<TD VALIGN=top ALIGN=left><B>Third Argument</B></TD>
</TR>
<TR><TD BGCOLOR=black COLSPAN=3><TABLE BORDER=0 WIDTH="100%" CELLSPACING=0 CELLPADDING=1><TR><TD></TD></TR></TABLE></TD>
</TR>
<TR><TD VALIGN=top ALIGN=left>130</TD>
<TD VALIGN=top ALIGN=left>Culprit clause</TD>
<TD VALIGN=top ALIGN=left>Module</TD>
</TR>
<TR><TD VALIGN=top ALIGN=left>131</TD>
<TD VALIGN=top ALIGN=left>Culprit clause</TD>
<TD VALIGN=top ALIGN=left>Module</TD>
</TR>
<TR><TD VALIGN=top ALIGN=left>132</TD>
<TD VALIGN=top ALIGN=left>Culprit clause</TD>
<TD VALIGN=top ALIGN=left>Module</TD>
</TR>
<TR><TD VALIGN=top ALIGN=left>133</TD>
<TD VALIGN=top ALIGN=left>Library name (string)</TD>
<TD VALIGN=top ALIGN=left>undefined</TD>
</TR>
<TR><TD VALIGN=top ALIGN=left>134</TD>
<TD VALIGN=top ALIGN=left>Procedure Name/Arity</TD>
<TD VALIGN=top ALIGN=left>Module</TD>
</TR>
<TR><TD VALIGN=top ALIGN=left>135</TD>
<TD VALIGN=top ALIGN=left>Procedure Name/Arity</TD>
<TD VALIGN=top ALIGN=left>Module</TD>
</TR>
<TR><TD VALIGN=top ALIGN=left>136</TD>
<TD VALIGN=top ALIGN=left>Procedure Name/Arity</TD>
<TD VALIGN=top ALIGN=left>Module</TD>
</TR>
<TR><TD VALIGN=top ALIGN=left>137</TD>
<TD VALIGN=top ALIGN=left>Procedure Name/Arity</TD>
<TD VALIGN=top ALIGN=left>Module</TD>
</TR>
<TR><TD VALIGN=top ALIGN=left>138</TD>
<TD VALIGN=top ALIGN=left>Variable name (atom)</TD>
<TD VALIGN=top ALIGN=left>undefined</TD>
</TR>
<TR><TD VALIGN=top ALIGN=left>139</TD>
<TD VALIGN=top ALIGN=left>(File, Size, Time), see below</TD>
<TD VALIGN=top ALIGN=left>Module</TD>
</TR>
<TR><TD VALIGN=top ALIGN=left>140</TD>
<TD VALIGN=top ALIGN=left>'Emulate'</TD>
<TD VALIGN=top ALIGN=left>undefined</TD>
</TR>
<TR><TD VALIGN=top ALIGN=left>141</TD>
<TD VALIGN=top ALIGN=left>Goal</TD>
<TD VALIGN=top ALIGN=left>Module</TD>
</TR>
<TR><TD VALIGN=top ALIGN=left>142</TD>
<TD VALIGN=top ALIGN=left>Goal</TD>
<TD VALIGN=top ALIGN=left>Module</TD>
</TR>
<TR><TD VALIGN=top ALIGN=left>143</TD>
<TD VALIGN=top ALIGN=left>Goal</TD>
<TD VALIGN=top ALIGN=left>Module</TD>
</TR>
<TR><TD VALIGN=top ALIGN=left>144</TD>
<TD VALIGN=top ALIGN=left>Goal (if an execution error) or Culprit clause (if compiler error)</TD>
<TD VALIGN=top ALIGN=left>Module</TD>
</TR>
<TR><TD VALIGN=top ALIGN=left>145</TD>
<TD VALIGN=top ALIGN=left>(Name/Arity, OldFile, NewFile)</TD>
<TD VALIGN=top ALIGN=left>Module</TD>
</TR>
<TR><TD VALIGN=top ALIGN=left>146</TD>
<TD VALIGN=top ALIGN=left>File</TD>
<TD VALIGN=top ALIGN=left>Module</TD>
</TR>
<TR><TD VALIGN=top ALIGN=left>147</TD>
<TD VALIGN=top ALIGN=left>File</TD>
</TR>
<TR><TD VALIGN=top ALIGN=left>148</TD>
<TD VALIGN=top ALIGN=left>Clause</TD>
<TD VALIGN=top ALIGN=left>Module</TD>
</TR>
<TR><TD BGCOLOR=black COLSPAN=3><TABLE BORDER=0 WIDTH="100%" CELLSPACING=0 CELLPADDING=1><TR><TD></TD></TR></TABLE></TD>
</TR></TABLE><BR>
The second argument for the event 139 depends on the predicate
where it was raised:
<UL CLASS="itemize"><LI CLASS="li-itemize">
<A HREF="../bips/kernel/compiler/compile-1.html"><B>compile/1, 2</B></A><A NAME="@default1210"></A> - (file name, code size, compile time)
<LI CLASS="li-itemize"><A HREF="../bips/kernel/compiler/compile_stream-1.html"><B>compile_stream/1</B></A><A NAME="@default1211"></A> - ('string', code size, compile time) with a string stream
<LI CLASS="li-itemize"><A HREF="../bips/kernel/compiler/compile_stream-1.html"><B>compile_stream/1</B></A><A NAME="@default1212"></A> - (file name, code size, compile time) with a stream associated to a file
</UL>
<A NAME="toc178"></A>
<H3 CLASS="subsection"><A NAME="htoc325">C.1.7</A>&nbsp;&nbsp;Top-Level</H3>
<TABLE BORDER=1 CELLSPACING=0 CELLPADDING=1>
<TR><TD VALIGN=top ALIGN=left><B>Event</B></TD>
<TD VALIGN=top ALIGN=left><B>Event Type</B></TD>
<TD VALIGN=top ALIGN=left><B>Default Event Handler</B></TD>
</TR>
<TR><TD VALIGN=top ALIGN=left><BR>
150</TD>
<TD VALIGN=top ALIGN=left>start of eclipse execution</TD>
<TD VALIGN=top ALIGN=left>sepia_start / 0</TD>
</TR>
<TR><TD VALIGN=top ALIGN=left>151</TD>
<TD VALIGN=top ALIGN=left>eclipse restart</TD>
<TD VALIGN=top ALIGN=left>true / 0</TD>
</TR>
<TR><TD VALIGN=top ALIGN=left>152</TD>
<TD VALIGN=top ALIGN=left>end of eclipse execution</TD>
<TD VALIGN=top ALIGN=left>sepia_end / 0</TD>
</TR>
<TR><TD VALIGN=top ALIGN=left>153</TD>
<TD VALIGN=top ALIGN=left>toplevel: print prompt</TD>
<TD VALIGN=top ALIGN=left>toplevel_prompt / 2</TD>
</TR>
<TR><TD VALIGN=top ALIGN=left>154</TD>
<TD VALIGN=top ALIGN=left>toplevel: start of query execution</TD>
<TD VALIGN=top ALIGN=left>true / 0</TD>
</TR>
<TR><TD VALIGN=top ALIGN=left>155</TD>
<TD VALIGN=top ALIGN=left>toplevel: print values</TD>
<TD VALIGN=top ALIGN=left>print_values / 3</TD>
</TR>
<TR><TD VALIGN=top ALIGN=left>156</TD>
<TD VALIGN=top ALIGN=left>toplevel: print answer</TD>
<TD VALIGN=top ALIGN=left>tty_ask_more / 2</TD>
</TR>
<TR><TD VALIGN=top ALIGN=left>157</TD>
<TD VALIGN=top ALIGN=left>error exit</TD>
<TD VALIGN=top ALIGN=left>error_exit / 0</TD>
</TR>
<TR><TD VALIGN=top ALIGN=left>158</TD>
<TD VALIGN=top ALIGN=left>toplevel: entering break level</TD>
<TD VALIGN=top ALIGN=left>start_break / 3</TD>
</TR>
<TR><TD VALIGN=top ALIGN=left>159</TD>
<TD VALIGN=top ALIGN=left>toplevel: leaving break level</TD>
<TD VALIGN=top ALIGN=left>end_break / 3</TD>
</TR></TABLE><BR>
<BR>

These events are not errors but rather hooks to allow users to modify
the behaviour of the ECL<SUP><I>i</I></SUP>PS<SUP><I>e</I></SUP> toplevel.
Therefore the arguments that are passed to the handler are not the
erroneous goal and the caller module but defined as follows:<BR>
<TABLE CELLSPACING=2 CELLPADDING=0>
<TR><TD VALIGN=top ALIGN=left><B>Event</B></TD>
<TD VALIGN=top ALIGN=left><B>Second Argument</B></TD>
<TD VALIGN=top ALIGN=left><B>Third Argument</B></TD>
</TR>
<TR><TD BGCOLOR=black COLSPAN=3><TABLE BORDER=0 WIDTH="100%" CELLSPACING=0 CELLPADDING=1><TR><TD></TD></TR></TABLE></TD>
</TR>
<TR><TD VALIGN=top ALIGN=left>150</TD>
<TD VALIGN=top ALIGN=left>A free variable. If the handler binds the variable
to an atom, this name is used as the toplevel module name</TD>
<TD VALIGN=top ALIGN=left>undefined</TD>
</TR>
<TR><TD VALIGN=top ALIGN=left>151</TD>
<TD VALIGN=top ALIGN=left>undefined</TD>
<TD VALIGN=top ALIGN=left>undefined</TD>
</TR>
<TR><TD VALIGN=top ALIGN=left>152</TD>
<TD VALIGN=top ALIGN=left>The argument is the number that ECL<SUP><I>i</I></SUP>PS<SUP><I>e</I></SUP> will return to the
operating system</TD>
<TD VALIGN=top ALIGN=left>undefined</TD>
</TR>
<TR><TD VALIGN=top ALIGN=left>153</TD>
<TD VALIGN=top ALIGN=left>current toplevel module</TD>
<TD VALIGN=top ALIGN=left>current toplevel module</TD>
</TR>
<TR><TD VALIGN=top ALIGN=left>154</TD>
<TD VALIGN=top ALIGN=left>a structure of the form
<DIV CLASS="center">
<I>goal(Goal, VarList, NewGoal, NewVarList)</I>,
</DIV>
where Goal is the goal that is about to be executed and VarList is the list
that associates the variables in Goal with their names
(like in <A HREF="../bips/kernel/ioterm/readvar-3.html"><B>readvar/3</B></A><A NAME="@default1213"></A>).
NewGoal and NewVarList are free variables. If the handler binds NewVarList
then the toplevel will use NewGoal and NewVarList to replace Goal and VarList
in the current query.</TD>
<TD VALIGN=top ALIGN=left>current toplevel module</TD>
</TR>
<TR><TD BGCOLOR=black COLSPAN=3><TABLE BORDER=0 WIDTH="100%" CELLSPACING=0 CELLPADDING=1><TR><TD></TD></TR></TABLE></TD>
</TR></TABLE>
<TABLE CELLSPACING=2 CELLPADDING=0>
<TR><TD VALIGN=top ALIGN=left><B>Event</B></TD>
<TD VALIGN=top ALIGN=left><B>Second Argument</B></TD>
<TD VALIGN=top ALIGN=left><B>Third Argument</B></TD>
</TR>
<TR><TD BGCOLOR=black COLSPAN=3><TABLE BORDER=0 WIDTH="100%" CELLSPACING=0 CELLPADDING=1><TR><TD></TD></TR></TABLE></TD>
</TR>
<TR><TD VALIGN=top ALIGN=left>155</TD>
<TD VALIGN=top ALIGN=left>A list associating the variable names with their values after the
query has been executed.</TD>
<TD VALIGN=top ALIGN=left>current toplevel module</TD>
</TR>
<TR><TD VALIGN=top ALIGN=left>156</TD>
<TD VALIGN=top ALIGN=left>An atom stating the answer to the query that was just executed.
The possible values are: <TT>yes</TT>, <TT>last_yes</TT> or <TT>no</TT>
if the query had no variables,
<TT>more_answers</TT>, <TT>last_answer</TT> if the query contained variables and
bindings were printed, <TT>no_answer</TT> if a query containing variables failed.</TD>
<TD VALIGN=top ALIGN=left>current toplevel module</TD>
</TR>
<TR><TD VALIGN=top ALIGN=left>157</TD>
<TD VALIGN=top ALIGN=left>undefined</TD>
<TD VALIGN=top ALIGN=left>undefined</TD>
</TR>
<TR><TD VALIGN=top ALIGN=left>158</TD>
<TD VALIGN=top ALIGN=left>break level</TD>
<TD VALIGN=top ALIGN=left>current toplevel module</TD>
</TR>
<TR><TD VALIGN=top ALIGN=left>159</TD>
<TD VALIGN=top ALIGN=left>break level</TD>
<TD VALIGN=top ALIGN=left>current toplevel module</TD>
</TR>
<TR><TD BGCOLOR=black COLSPAN=3><TABLE BORDER=0 WIDTH="100%" CELLSPACING=0 CELLPADDING=1><TR><TD></TD></TR></TABLE></TD>
</TR></TABLE>
<BR>
<BR>
<BR>
When the handler for event 152 "end of eclipse execution" calls exit_block,
ECL<SUP><I>i</I></SUP>PS<SUP><I>e</I></SUP>
is not exited. This is a way to prevent
accidental exits from the system. Failure of the handler is ignored.<BR>
<BR>
<A NAME="toc179"></A>
<H3 CLASS="subsection"><A NAME="htoc326">C.1.8</A>&nbsp;&nbsp;Macro Transformation Errors, Lexical Analyser</H3>
<TABLE BORDER=1 CELLSPACING=0 CELLPADDING=1>
<TR><TD VALIGN=top ALIGN=left><B>Event</B></TD>
<TD VALIGN=top ALIGN=left><B>Event Type</B></TD>
<TD VALIGN=top ALIGN=left><B>Default Event Handler</B></TD>
</TR>
<TR><TD VALIGN=top ALIGN=left><BR>
160</TD>
<TD VALIGN=top ALIGN=left>global macro transformation already exists</TD>
<TD VALIGN=top ALIGN=left>error_handler / 4</TD>
</TR>
<TR><TD VALIGN=top ALIGN=left>161</TD>
<TD VALIGN=top ALIGN=left>macro transformation already defined in this module</TD>
<TD VALIGN=top ALIGN=left>macro_handler / 3</TD>
</TR>
<TR><TD VALIGN=top ALIGN=left>162</TD>
<TD VALIGN=top ALIGN=left>no macro transformation defined in this module</TD>
<TD VALIGN=top ALIGN=left>warning_handler / 2</TD>
</TR>
<TR><TD VALIGN=top ALIGN=left>163</TD>
<TD VALIGN=top ALIGN=left>illegal attempt to remove the last member of a character class</TD>
<TD VALIGN=top ALIGN=left>error_handler / 2</TD>
</TR>
<TR><TD VALIGN=top ALIGN=left>164</TD>
<TD VALIGN=top ALIGN=left>toplevel: print banner</TD>
<TD VALIGN=top ALIGN=left>tty_banner / 2</TD>
</TR>
<TR><TD VALIGN=top ALIGN=left>165</TD>
<TD VALIGN=top ALIGN=left>can't compile an attributed variable (use add_attribute/2,3)</TD>
<TD VALIGN=top ALIGN=left>error_handler / 2</TD>
</TR>
<TR><TD VALIGN=top ALIGN=left>166</TD>
<TD VALIGN=top ALIGN=left>file successfully processed</TD>
<TD VALIGN=top ALIGN=left>record_compiled_file_handler / 3</TD>
</TR>
<TR><TD VALIGN=top ALIGN=left>167</TD>
<TD VALIGN=top ALIGN=left>initialization/finalization goal failed or aborted</TD>
<TD VALIGN=top ALIGN=left>warning_handler / 3</TD>
</TR></TABLE><BR>
<BR>
The event 164 is raised whenever the toplevel loop is restarted.
<BR>
<BR>
<TABLE CELLSPACING=2 CELLPADDING=0>
<TR><TD VALIGN=top ALIGN=left><B>Event</B></TD>
<TD VALIGN=top ALIGN=left><B>Second Argument</B></TD>
<TD VALIGN=top ALIGN=left><B>Third Argument</B></TD>
</TR>
<TR><TD BGCOLOR=black COLSPAN=3><TABLE BORDER=0 WIDTH="100%" CELLSPACING=0 CELLPADDING=1><TR><TD></TD></TR></TABLE></TD>
</TR>
<TR><TD VALIGN=top ALIGN=left>164</TD>
<TD VALIGN=top ALIGN=left>the banner string</TD>
</TR>
<TR><TD BGCOLOR=black COLSPAN=3><TABLE BORDER=0 WIDTH="100%" CELLSPACING=0 CELLPADDING=1><TR><TD></TD></TR></TABLE></TD>
</TR></TABLE>
<BR>
<A NAME="toc180"></A>
<H3 CLASS="subsection"><A NAME="htoc327">C.1.9</A>&nbsp;&nbsp;I/O, Operating System, External Interface</H3>
<TABLE BORDER=1 CELLSPACING=0 CELLPADDING=1>
<TR><TD VALIGN=top ALIGN=left><B>Event</B></TD>
<TD VALIGN=top ALIGN=left><B>Event Type</B></TD>
<TD VALIGN=top ALIGN=left><B>Default Event Handler</B></TD>
</TR>
<TR><TD VALIGN=top ALIGN=left><BR>
170</TD>
<TD VALIGN=top ALIGN=left>system interface error</TD>
<TD VALIGN=top ALIGN=left>system_error_handler / 4</TD>
</TR>
<TR><TD VALIGN=top ALIGN=left>171</TD>
<TD VALIGN=top ALIGN=left>File does not exist :</TD>
<TD VALIGN=top ALIGN=left>error_handler / 2</TD>
</TR>
<TR><TD VALIGN=top ALIGN=left>172</TD>
<TD VALIGN=top ALIGN=left>File is not open :</TD>
<TD VALIGN=top ALIGN=left>error_handler / 2</TD>
</TR>
<TR><TD VALIGN=top ALIGN=left>173</TD>
<TD VALIGN=top ALIGN=left>library not found</TD>
<TD VALIGN=top ALIGN=left>error_handler / 2</TD>
</TR>
<TR><TD VALIGN=top ALIGN=left>174</TD>
<TD VALIGN=top ALIGN=left>child process terminated due to signal</TD>
<TD VALIGN=top ALIGN=left>error_handler / 2</TD>
</TR>
<TR><TD VALIGN=top ALIGN=left>175</TD>
<TD VALIGN=top ALIGN=left>child process stopped</TD>
<TD VALIGN=top ALIGN=left>error_handler / 2</TD>
</TR>
<TR><TD VALIGN=top ALIGN=left>176</TD>
<TD VALIGN=top ALIGN=left>message passing error</TD>
<TD VALIGN=top ALIGN=left>error_handler / 2</TD>
</TR>
<TR><TD VALIGN=top ALIGN=left>177</TD>
<TD VALIGN=top ALIGN=left>shared library not found</TD>
<TD VALIGN=top ALIGN=left>error_handler / 2</TD>
</TR>
<TR><TD VALIGN=top ALIGN=left>190</TD>
<TD VALIGN=top ALIGN=left>end of file reached</TD>
<TD VALIGN=top ALIGN=left>eof_handler / 4</TD>
</TR>
<TR><TD VALIGN=top ALIGN=left>191</TD>
<TD VALIGN=top ALIGN=left>output error</TD>
<TD VALIGN=top ALIGN=left>output_error_handler / 4</TD>
</TR>
<TR><TD VALIGN=top ALIGN=left>192</TD>
<TD VALIGN=top ALIGN=left>illegal stream mode</TD>
<TD VALIGN=top ALIGN=left>error_handler / 2</TD>
</TR>
<TR><TD VALIGN=top ALIGN=left>193</TD>
<TD VALIGN=top ALIGN=left>illegal stream specification</TD>
<TD VALIGN=top ALIGN=left>error_handler / 2</TD>
</TR>
<TR><TD VALIGN=top ALIGN=left>194</TD>
<TD VALIGN=top ALIGN=left>too many symbolic names of a stream</TD>
<TD VALIGN=top ALIGN=left>error_handler / 2</TD>
</TR>
<TR><TD VALIGN=top ALIGN=left>195</TD>
<TD VALIGN=top ALIGN=left>yield on flush</TD>
<TD VALIGN=top ALIGN=left>io_yield_handler / 2</TD>
</TR>
<TR><TD VALIGN=top ALIGN=left>196</TD>
<TD VALIGN=top ALIGN=left>trying to modify a system stream</TD>
<TD VALIGN=top ALIGN=left>close_handler / 2</TD>
</TR>
<TR><TD VALIGN=top ALIGN=left>197</TD>
<TD VALIGN=top ALIGN=left>use 'input' or 'output' instead of 'user'</TD>
<TD VALIGN=top ALIGN=left>error_handler / 2</TD>
</TR>
<TR><TD VALIGN=top ALIGN=left>198</TD>
<TD VALIGN=top ALIGN=left>reading past the file end</TD>
<TD VALIGN=top ALIGN=left>past_eof_handler / 2</TD>
</TR>
<TR><TD VALIGN=top ALIGN=left>210</TD>
<TD VALIGN=top ALIGN=left>Remember() not inside a backtracking predicate</TD>
<TD VALIGN=top ALIGN=left>error_handler / 2</TD>
</TR>
<TR><TD VALIGN=top ALIGN=left>211</TD>
<TD VALIGN=top ALIGN=left>External function does not exist</TD>
<TD VALIGN=top ALIGN=left>error_handler / 2</TD>
</TR>
<TR><TD VALIGN=top ALIGN=left>212</TD>
<TD VALIGN=top ALIGN=left>External function returned invalid code</TD>
<TD VALIGN=top ALIGN=left>error_handler / 2</TD>
</TR>
<TR><TD VALIGN=top ALIGN=left>213</TD>
<TD VALIGN=top ALIGN=left>Error in external function</TD>
<TD VALIGN=top ALIGN=left>error_handler / 2</TD>
</TR>
<TR><TD VALIGN=top ALIGN=left>214</TD>
<TD VALIGN=top ALIGN=left>Licensing problem</TD>
<TD VALIGN=top ALIGN=left>error_handler / 2</TD>
</TR></TABLE><BR>
<A NAME="toc181"></A>
<H3 CLASS="subsection"><A NAME="htoc328">C.1.10</A>&nbsp;&nbsp;Debugging, Object Files</H3>
<TABLE BORDER=1 CELLSPACING=0 CELLPADDING=1>
<TR><TD VALIGN=top ALIGN=left><B>Event</B></TD>
<TD VALIGN=top ALIGN=left><B>Event Type</B></TD>
<TD VALIGN=top ALIGN=left><B>Default Event Handler</B></TD>
</TR>
<TR><TD VALIGN=top ALIGN=left><BR>
230</TD>
<TD VALIGN=top ALIGN=left>uncaught exception</TD>
<TD VALIGN=top ALIGN=left>error_handler / 2</TD>
</TR>
<TR><TD VALIGN=top ALIGN=left>231</TD>
<TD VALIGN=top ALIGN=left>default help/0 message</TD>
<TD VALIGN=top ALIGN=left>fail / 0</TD>
</TR>
<TR><TD VALIGN=top ALIGN=left>249</TD>
<TD VALIGN=top ALIGN=left>debugger new suspensions event</TD>
<TD VALIGN=top ALIGN=left>bip_delay / 0</TD>
</TR>
<TR><TD VALIGN=top ALIGN=left>250</TD>
<TD VALIGN=top ALIGN=left>debugger init event</TD>
<TD VALIGN=top ALIGN=left>trace_start_handler_tty / 0</TD>
</TR>
<TR><TD VALIGN=top ALIGN=left>251</TD>
<TD VALIGN=top ALIGN=left>debugger builtin fail event</TD>
<TD VALIGN=top ALIGN=left>bip_port / 4</TD>
</TR>
<TR><TD VALIGN=top ALIGN=left>252</TD>
<TD VALIGN=top ALIGN=left>debugger port event</TD>
<TD VALIGN=top ALIGN=left>trace_line_handler_tty / 2</TD>
</TR>
<TR><TD VALIGN=top ALIGN=left>253</TD>
<TD VALIGN=top ALIGN=left>debugger call event</TD>
<TD VALIGN=top ALIGN=left>ncall / 2</TD>
</TR>
<TR><TD VALIGN=top ALIGN=left>254</TD>
<TD VALIGN=top ALIGN=left>debugger exit event</TD>
<TD VALIGN=top ALIGN=left>nexit / 1</TD>
</TR>
<TR><TD VALIGN=top ALIGN=left>255</TD>
<TD VALIGN=top ALIGN=left>debugger redo event</TD>
<TD VALIGN=top ALIGN=left>redo / 5</TD>
</TR>
<TR><TD VALIGN=top ALIGN=left>256</TD>
<TD VALIGN=top ALIGN=left>debugger delay event</TD>
<TD VALIGN=top ALIGN=left>ndelay / 2</TD>
</TR>
<TR><TD VALIGN=top ALIGN=left>257</TD>
<TD VALIGN=top ALIGN=left>debugger wake event</TD>
<TD VALIGN=top ALIGN=left>resume / 2</TD>
</TR>
<TR><TD VALIGN=top ALIGN=left>258</TD>
<TD VALIGN=top ALIGN=left>debugger builtin call event</TD>
<TD VALIGN=top ALIGN=left>bip_port / 4</TD>
</TR>
<TR><TD VALIGN=top ALIGN=left>259</TD>
<TD VALIGN=top ALIGN=left>debugger builtin exit event</TD>
<TD VALIGN=top ALIGN=left>bip_port / 4</TD>
</TR>
<TR><TD VALIGN=top ALIGN=left>260</TD>
<TD VALIGN=top ALIGN=left>unexpected end of file</TD>
<TD VALIGN=top ALIGN=left>error_handler / 2</TD>
</TR>
<TR><TD VALIGN=top ALIGN=left>261</TD>
<TD VALIGN=top ALIGN=left>invalid saved state</TD>
<TD VALIGN=top ALIGN=left>error_handler / 2</TD>
</TR>
<TR><TD VALIGN=top ALIGN=left>262</TD>
<TD VALIGN=top ALIGN=left>can not allocate required space</TD>
<TD VALIGN=top ALIGN=left>error_handler / 2</TD>
</TR>
<TR><TD VALIGN=top ALIGN=left>263</TD>
<TD VALIGN=top ALIGN=left>can not save or restore from another break level than level 0</TD>
<TD VALIGN=top ALIGN=left>error_handler / 2</TD>
</TR>
<TR><TD VALIGN=top ALIGN=left>264</TD>
<TD VALIGN=top ALIGN=left>not an eclipse object file</TD>
<TD VALIGN=top ALIGN=left>compiled_file_handler / 3</TD>
</TR>
<TR><TD VALIGN=top ALIGN=left>265</TD>
<TD VALIGN=top ALIGN=left>bad eclipse object file version</TD>
<TD VALIGN=top ALIGN=left>compiled_file_handler / 3</TD>
</TR>
<TR><TD VALIGN=top ALIGN=left>267</TD>
<TD VALIGN=top ALIGN=left>predicate not implemented in this version</TD>
<TD VALIGN=top ALIGN=left>error_handler / 2</TD>
</TR>
<TR><TD VALIGN=top ALIGN=left>268</TD>
<TD VALIGN=top ALIGN=left>predicate not supported in parallel session</TD>
<TD VALIGN=top ALIGN=left>error_handler / 2</TD>
</TR></TABLE><BR>
These handlers receive special arguments:<BR>
<TABLE CELLSPACING=2 CELLPADDING=0>
<TR><TD VALIGN=top ALIGN=left><B>Event</B></TD>
<TD VALIGN=top ALIGN=left><B>Second Argument</B></TD>
<TD VALIGN=top ALIGN=left><B>Third Argument</B></TD>
</TR>
<TR><TD BGCOLOR=black COLSPAN=3><TABLE BORDER=0 WIDTH="100%" CELLSPACING=0 CELLPADDING=1><TR><TD></TD></TR></TABLE></TD>
</TR>
<TR><TD VALIGN=top ALIGN=left>252</TD>
<TD VALIGN=top ALIGN=left>trace_line{port:Port,frame:Frame}</TD>
<TD VALIGN=top ALIGN=left>undefined</TD>
</TR>
<TR><TD VALIGN=top ALIGN=left>264</TD>
<TD VALIGN=top ALIGN=left>(File, [], [])</TD>
<TD VALIGN=top ALIGN=left>undefined</TD>
</TR>
<TR><TD VALIGN=top ALIGN=left>265</TD>
<TD VALIGN=top ALIGN=left>(File, [], [])</TD>
<TD VALIGN=top ALIGN=left>undefined</TD>
</TR>
<TR><TD BGCOLOR=black COLSPAN=3><TABLE BORDER=0 WIDTH="100%" CELLSPACING=0 CELLPADDING=1><TR><TD></TD></TR></TABLE></TD>
</TR></TABLE>
<BR>
<A NAME="toc182"></A>
<H3 CLASS="subsection"><A NAME="htoc329">C.1.11</A>&nbsp;&nbsp;Extensions</H3>
<TABLE BORDER=1 CELLSPACING=0 CELLPADDING=1>
<TR><TD VALIGN=top ALIGN=left><B>Event</B></TD>
<TD VALIGN=top ALIGN=left><B>Event Type</B></TD>
<TD VALIGN=top ALIGN=left><B>Default Event Handler</B></TD>
</TR>
<TR><TD VALIGN=top ALIGN=left><BR>
270</TD>
<TD VALIGN=top ALIGN=left>undefined variable attribute</TD>
<TD VALIGN=top ALIGN=left>error_handler / 2</TD>
</TR>
<TR><TD VALIGN=top ALIGN=left>271</TD>
<TD VALIGN=top ALIGN=left>bad format of the variable attribute</TD>
<TD VALIGN=top ALIGN=left>error_handler / 2</TD>
</TR>
<TR><TD VALIGN=top ALIGN=left>272</TD>
<TD VALIGN=top ALIGN=left>delay clause may cause indefinite delay</TD>
<TD VALIGN=top ALIGN=left>warning_handler / 2</TD>
</TR>
<TR><TD VALIGN=top ALIGN=left>273</TD>
<TD VALIGN=top ALIGN=left>delayed goals left</TD>
<TD VALIGN=top ALIGN=left>delayed_goals_handler / 3</TD>
</TR>
<TR><TD VALIGN=top ALIGN=left>274</TD>
<TD VALIGN=top ALIGN=left>stack of woken lists empty</TD>
<TD VALIGN=top ALIGN=left>error_handler / 2</TD>
</TR>
<TR><TD VALIGN=top ALIGN=left>280</TD>
<TD VALIGN=top ALIGN=left>Found a solution with cost</TD>
<TD VALIGN=top ALIGN=left>cost_handler / 2</TD>
</TR></TABLE><BR>
<BR>
<BR>
<BR>
The handlers for these events receive the following arguments:<BR>
<TABLE CELLSPACING=2 CELLPADDING=0>
<TR><TD VALIGN=top ALIGN=left><B>Event</B></TD>
<TD VALIGN=top ALIGN=left><B>Second Argument</B></TD>
<TD VALIGN=top ALIGN=left><B>Third Argument</B></TD>
</TR>
<TR><TD BGCOLOR=black COLSPAN=3><TABLE BORDER=0 WIDTH="100%" CELLSPACING=0 CELLPADDING=1><TR><TD></TD></TR></TABLE></TD>
</TR>
<TR><TD VALIGN=top ALIGN=left>272</TD>
<TD VALIGN=top ALIGN=left>Culprit clause</TD>
<TD VALIGN=top ALIGN=left>Module</TD>
</TR>
<TR><TD VALIGN=top ALIGN=left>273</TD>
<TD VALIGN=top ALIGN=left>list of sleeping suspensions</TD>
<TD VALIGN=top ALIGN=left>undefined</TD>
</TR>
<TR><TD VALIGN=top ALIGN=left>280</TD>
<TD VALIGN=top ALIGN=left>Cost, Goal</TD>
<TD VALIGN=top ALIGN=left>undefined</TD>
</TR>
<TR><TD BGCOLOR=black COLSPAN=3><TABLE BORDER=0 WIDTH="100%" CELLSPACING=0 CELLPADDING=1><TR><TD></TD></TR></TABLE></TD>
</TR></TABLE><BR>
<HR>
<A HREF="umsroot147.html"><IMG SRC ="contents_motif.gif" ALT="Up"></A>
<A HREF="umsroot149.html"><IMG SRC ="next_motif.gif" ALT="Next"></A>
</BODY>
</HTML>
